/** QMainWindow **/
QMainWindow::separator {
    background-color: transparent;
    border: 1px solid transparent;
    spacing: 0px;
    padding: 0px;
}

QMainWindow::separator:hover {
    background-color: rgb(213, 215, 226);
    border: 1px solid rgb(180, 182, 192);
}

/** QSizeGrip **/
QSizeGrip {
    background: transparent;
    width: 12px;
    height: 12px;
    image: url(":/css/window_grip");
}

/** QStatusBar **/
QStatusBar {
    background: rgb(213, 215, 226);
    border-top: 1px solid rgb(180, 182, 192);
}

/** QMenuBar **/
QMenuBar {
    background-color: white;
}

QMenuBar::item:selected {
    background: rgb(213, 215, 226);
    border: 1px solid rgb(180, 182, 192);
}

QMenuBar::item:pressed {
    background: rgb(213, 215, 226);
    border: 1px solid rgb(180, 182, 192);
}

/** QMenu **/
QMenu {
    color: black;
    background-color: white;
    border: 1px solid rgb(180, 182, 192);
}

QMenu::separator {
    height: 1px;
    background: rgb(180, 182, 192);
    margin-left: 30px;
    margin-right: 5px;
}

QMenu::icon {
    position: absolute;
    top: 1px;
    right: 5px;
    bottom: 1px;
    left: 5px;
}

QMenu::item {
    background-color: white;
    padding: 4px 30px 4px 30px;
}

QMenu::item:selected {
    background: rgb(213, 215, 226);
}

QMenu::item:disabled {
    color: rgb(180, 180, 180);
}

QMenu::indicator {
    width: 12px;
    height: 12px;
    padding-left: 6px;
}

QMenu::indicator:checked {
    image: url(":/css/checked");
}

QMenu::indicator:unchecked {
    image: none;
}

/** QScrollBar **/
QScrollBar:horizontal {
    height: 16px;
    margin: 2px 16px 2px 16px;
    border: none;
    background-color: rgb(232, 232, 236);
}

QScrollBar:vertical {
    background-color: rgb(232, 232, 236);
    width: 16px;
    margin: 16px 2px 16px 2px;
    border: none;
}

QScrollBar::handle:horizontal {
    background-color: rgb(194, 195, 201);
    border: none;
    min-width: 8px;
}

QScrollBar::handle:horizontal:hover {
    background-color: rgb(104, 104, 104);
    border: none;
    min-width: 8px;
}

QScrollBar::handle:vertical {
    background-color: rgb(194, 195, 201);
    border: none;
    min-height: 8px;
}

QScrollBar::handle:vertical:hover {
    background-color: rgb(104, 104, 104);
    border: none;
    min-height: 8px;
}

QScrollBar::add-line:horizontal {
    margin: 0px 0px 0px 0px;
    border-image: url(":/css/arrow_right_disabled");
    height: 12px;
    width: 12px;
    subcontrol-position: right;
    subcontrol-origin: margin;
}

QScrollBar::add-line:horizontal:hover, QScrollBar::add-line:horizontal:on {
    border-image: url(":/css/arrow_right");
    height: 12px;
    width: 12px;
    subcontrol-position: right;
    subcontrol-origin: margin;
}

QScrollBar::add-line:vertical {
    margin: 3px 0px 3px 0px;
    border-image: url(":/css/arrow_down_disabled");
    height: 12px;
    width: 12px;
    subcontrol-position: bottom;
    subcontrol-origin: margin;
}

QScrollBar::add-line:vertical:hover, QScrollBar::add-line:vertical:on {
    border-image: url(":/css/arrow_down");
    height: 12px;
    width: 12px;
    subcontrol-position: bottom;
    subcontrol-origin: margin;
}

QScrollBar::sub-line:horizontal {
    margin: 0px 3px 0px 3px;
    border-image: url(":/css/arrow_left_disabled");
    height: 12px;
    width: 12px;
    subcontrol-position: left;
    subcontrol-origin: margin;
}

QScrollBar::sub-line:horizontal:hover, QScrollBar::sub-line:horizontal:on {
    border-image: url(":/css/arrow_left");
    height: 12px;
    width: 12px;
    subcontrol-position: left;
    subcontrol-origin: margin;
}

QScrollBar::sub-line:vertical {
    margin: 3px 0px 3px 0px;
    border-image: url(":/css/arrow_up_disabled");
    height: 12px;
    width: 12px;
    subcontrol-position: top;
    subcontrol-origin: margin;
}

QScrollBar::sub-line:vertical:hover, QScrollBar::sub-line:vertical:on {
    border-image: url(":/css/arrow_up");
    height: 12px;
    width: 12px;
    subcontrol-position: top;
    subcontrol-origin: margin;
}

QScrollBar::up-arrow:horizontal, QScrollBar::down-arrow:horizontal {
    background: none;
}

QScrollBar::up-arrow:vertical, QScrollBar::down-arrow:vertical {
    background: none;
}

QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal {
    background: none;
}

QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
    background: none;
}

/** QToolBar **/
QToolBar {
    background: white;
}

QToolBar QToolButton:hover {
    background-color: rgb(213, 215, 226);
    border: 1px solid rgb(180, 182, 192);
}

QToolBar QToolButton:checked {
    background-color: rgb(213, 215, 226);
    border: 1px solid rgb(180, 182, 192);
}

QToolBar QToolButton:checked:hover {
    background-color: rgb(213, 215, 226);
    border: 1px solid rgb(180, 182, 192);
}

/** QPushButton **/
QPushButton {
    background-color: rgb(232, 232, 236);
    border: 1px solid rgb(180, 182, 192);
    color: black;
    border-radius: 0px;
    padding: 3px;
    outline: none;
}

QPushButton:disabled {
    background-color: rgb(232, 232, 236);
    border: 1px solid rgb(180, 182, 192);
    color: rgb(194, 195, 201);
    border-radius: 0px;
    padding: 3px;
}

QPushButton:pressed {
    background-color: white;
    border: 1px solid rgb(180, 182, 192);
    margin: 1px;
}

QPushButton:hover {
    border: 2px solid rgb(180, 182, 192);
    color: black;
}

/** QComboBox **/
QComboBox {
    background-color: rgb(232, 232, 236);
    border: 1px solid rgb(180, 182, 192);
}

QComboBox:hover {
    border: 2px solid rgb(180, 182, 192);
}

QComboBox::down-arrow {
    background: transparent;
    image: url(":/css/arrow_down");
    height: 12px;
    width: 12px;
}

QComboBox::drop-down {
    image: none;
}

QComboBox::drop-down:on {
    image: none;
}

QComboBox QAbstractItemView {
    background-color: white;
    border-radius: 0px;
    border: 1px solid black;
    selection-color: black;
    selection-background-color: rgb(213, 215, 226);
}

/** QLineEdit **/
QLineEdit {
    background-color: #ffffff;
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 4px;
    padding-right: 4px;
    border: 1px solid rgb(180, 182, 192);
    border-radius: 0px;
    color: #000000;
}

QLineEdit:disabled {
    background-color: white;
    color: rgb(194, 195, 201);
}

QLineEdit:hover {
    border: 1px solid black;
    color: black;
}

/** QPlainTextEdit **/
QPlainTextEdit {
    border-radius: 0px;
    border-top: none;
    border-left: 1px solid rgb(213, 215, 226);
    border-right: 1px solid rgb(213, 215, 226);
    border-bottom: 1px solid rgb(213, 215, 226);
}

/** QTreeView **/
QTreeView {
    background-color: white;
    border-top: 1px solid rgb(213, 215, 226);
    color: black;
    gridline-color: rgb(213, 215, 226);
    border-radius: 0px;
    outline:0px;
}

QTreeView:selected {
    background: rgb(213, 215, 226);
    color: black;
}

QTreeView::item:pressed{
    background-color: rgb(213, 215, 226);
    color: black;
}

QTreeView::item:selected:hover {
    background: rgb(213, 215, 226);
    color: black;
}

QTreeView::item:selected:active {
    background-color: rgb(213, 215, 226);
    color: black;
}

QTreeView::item:selected:!active {
    background-color: rgb(213, 215, 226);
    color: black;
}

QTreeView::item:!selected:hover {
    background-color: rgb(213, 215, 226);
    color: black;
}

/** QDockWidget **/
QDockWidget {
    background-color: rgb(234, 236, 249);
    border: 1px solid rgb(139, 143, 173);
    titlebar-close-icon: url(:/css/hide);
}

QDockWidget::title {
    text-align: left;
    padding-left: 5px;
}

QDockWidget::close-button:hover {
    background-color: rgb(213, 215, 226);
    border: 1px solid rgb(180, 182, 192);
}

/** QTabWidget **/
QTabWidget {
    background-color: white;
    border: 1px solid rgb(213, 215, 226);
}

QTabWidget::pane {
    border: 1px solid rgb(213, 215, 226);
    border-radius: 0px;
    margin: 0px;
    padding: 0px;
}

/** QTabBar **/
QTabBar {
    background: white;
}

QTabBar::tab:!selected:hover {
    background: rgb(213, 215, 226);
}

/** QMessageBox **/
QMessageBox QPushButton {
    width: 40px;
}

/** QDialog **/
QDialog {
    background-color: white;
}

/** QTextBrowser **/
QTextBrowser {
    border-top: 1px solid rgb(213, 215, 226);
}
